import request from '@/utils/request'
import header from './header'

export function QueryGoods(data){
    data=Object.assign(data,header)
    return request({
      url:'/declaration/eb_register_goods/query',
      method:'post',
      data
    })
  }
  
  export function ApplyGoods(data){
    data=Object.assign(data,header)
    return request({
      url:'/declaration/eb_register_goods/apply',
      method:'put',
      data
    })
  }
  
  export function CancelGoods(data){
    data=Object.assign(data,header)
    return request({
      url:'/declaration/eb_register_goods/cancel',
      method:'put',
      data
    })
  }